package session07.guessnumber;

import javax.swing.*;
import java.awt.*;

public class ButtonPanel extends JPanel {

    private JButton enterBtn;
    private JButton cancelBtn;

    public ButtonPanel(){

        this.enterBtn = new JButton("确认");
        this.cancelBtn = new JButton("取消");

        this.add(this.enterBtn);
        this.add(this.cancelBtn);

    }

}
